/*
 * led.c
 *
 *  Created on: Sep 22, 2011
 *      Author: wjb7392
 */
#include "derivative.h" /* include peripheral declarations */
#include "led.h"

void init_led() {
	PORTA_PCR29 = PORT_PCR_MUX(0x01);
	GPIOA_PDDR = 1<<29;
	GPIOA_PSOR = 0xdffffbff;
}
void toggle_led() {
	GPIOA_PTOR = 1 << 29;
}
